package com.joy.web.common.controller;

import com.joy.web.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: MainController
 * @Description: 主页Controller
 * @Author: yjzhao
 * @Create: 2019-09-17  17:38
 **/
@Controller
@RequestMapping("/main")
public class MainController extends BaseController {
    /**
     * 登录页面初始化
     * @return
     */
    @RequestMapping(value = {"", "/"})
    public String index() {
        return "pages/main";
    }

}
